using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 库存数量0000000
    /// </summary>
    public class Inventoryquantity: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 库存数量实际
        /// </summary>
        [Required]
        public int Investoryquantityactual { get; set; }
        
        /// <summary>
        /// 库存数量可用
        /// </summary>
        [Required]
        public int Inventoryquantityavailable { get; set; }
        
        /// <summary>
        /// 库存数量锁定
        /// </summary>
        [Required]
        public int Inventoryquantitylocking { get; set; }
        
        /// <summary>
        /// 库存数量冻结
        /// </summary>
        [Required]
        public int Inventoryquantityfrozen { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string Code { get; set; }

        public string InventoryquantityNo { get; set; }

        public string InventorywarningNo { get; set; }

        public bool IsDeleted { get; set; }
    }
}